package com.bjsxt.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2021-10-16
 */
public class HostPower1{


    private Integer hpid;

    private String hpstart;


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate hpstartBeigindate;


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate hpstartEnddate;

    private String hpOrderPower;


    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime hpstartBegintime;


    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime hpstartEndtime;

    private Integer hpdiscount;

//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate hpDisStarttime;

//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate hpDisEndtime;

    private Double hpprice;

    private Double hcosts;

    private Integer hostid;

    public HostPower1(Integer hpid, String hpstart, LocalDate hpstartBeigindate, LocalDate hpstartEnddate, String hpOrderPower, LocalTime hpstartBegintime, LocalTime hpstartEndtime, Integer hpdiscount, LocalDate hpDisStarttime, LocalDate hpDisEndtime, Double hpprice, Double hcosts, Integer hostid) {
        this.hpid = hpid;
        this.hpstart = hpstart;
        this.hpstartBeigindate = hpstartBeigindate;
        this.hpstartEnddate = hpstartEnddate;
        this.hpOrderPower = hpOrderPower;
        this.hpstartBegintime = hpstartBegintime;
        this.hpstartEndtime = hpstartEndtime;
        this.hpdiscount = hpdiscount;
        this.hpDisStarttime = hpDisStarttime;
        this.hpDisEndtime = hpDisEndtime;
        this.hpprice = hpprice;
        this.hcosts = hcosts;
        this.hostid = hostid;
    }

    public HostPower1() {
    }


    public Integer getHpid() {
        return hpid;
    }

    public void setHpid(Integer hpid) {
        this.hpid = hpid;
    }

    public String getHpstart() {
        return hpstart;
    }

    public void setHpstart(String hpstart) {
        this.hpstart = hpstart;
    }

    public LocalDate getHpstartBeigindate() {
        return hpstartBeigindate;
    }

    public void setHpstartBeigindate(LocalDate hpstartBeigindate) {
        this.hpstartBeigindate = hpstartBeigindate;
    }

    public LocalDate getHpstartEnddate() {
        return hpstartEnddate;
    }

    public void setHpstartEnddate(LocalDate hpstartEnddate) {
        this.hpstartEnddate = hpstartEnddate;
    }

    public String getHpOrderPower() {
        return hpOrderPower;
    }

    public void setHpOrderPower(String hpOrderPower) {
        this.hpOrderPower = hpOrderPower;
    }

    public LocalTime getHpstartBegintime() {
        return hpstartBegintime;
    }

    public void setHpstartBegintime(LocalTime hpstartBegintime) {
        this.hpstartBegintime = hpstartBegintime;
    }

    public LocalTime getHpstartEndtime() {
        return hpstartEndtime;
    }

    public void setHpstartEndtime(LocalTime hpstartEndtime) {
        this.hpstartEndtime = hpstartEndtime;
    }

    public Integer getHpdiscount() {
        return hpdiscount;
    }

    public void setHpdiscount(Integer hpdiscount) {
        this.hpdiscount = hpdiscount;
    }

    public LocalDate getHpDisStarttime() {
        return hpDisStarttime;
    }

    public void setHpDisStarttime(LocalDate hpDisStarttime) {
        this.hpDisStarttime = hpDisStarttime;
    }

    public LocalDate getHpDisEndtime() {
        return hpDisEndtime;
    }

    public void setHpDisEndtime(LocalDate hpDisEndtime) {
        this.hpDisEndtime = hpDisEndtime;
    }

    public Double getHpprice() {
        return hpprice;
    }

    public void setHpprice(Double hpprice) {
        this.hpprice = hpprice;
    }

    public Double getHcosts() {
        return hcosts;
    }

    public void setHcosts(Double hcosts) {
        this.hcosts = hcosts;
    }

    public Integer getHostid() {
        return hostid;
    }

    public void setHostid(Integer hostid) {
        this.hostid = hostid;
    }


    @Override
    public String toString() {
        return "HostPower1{" +
                ", hpid=" + hpid +
                ", hpstart=" + hpstart +
                ", hpstartBeigindate=" + hpstartBeigindate +
                ", hpstartEnddate=" + hpstartEnddate +
                ", hpOrderPower=" + hpOrderPower +
                ", hpstartBegintime=" + hpstartBegintime +
                ", hpstartEndtime=" + hpstartEndtime +
                ", hpdiscount=" + hpdiscount +
                ", hpDisStarttime=" + hpDisStarttime +
                ", hpDisEndtime=" + hpDisEndtime +
                ", hpprice=" + hpprice +
                ", hcosts=" + hcosts +
                ", hostid=" + hostid +
                "}";
    }
}